﻿// /*
//  * @Author: wanyiming
//  * @Date:2024-05-21-22:19
//  * @Description:
//  */

using UnityEngine;

namespace Code.GameLogic.Map
{
    public class WayPointBo
    {
        private Vector3 _postion;
        
        private int _order;

        private int _nextWayPointOrder;

        public int Order
        {
            get => _order;
            set => _order = value;
        }

        public int NextWayPointOrder
        {
            get => _nextWayPointOrder;
            set => _nextWayPointOrder = value;
        }

        public Vector3 Postion
        {
            get => _postion;
            set => _postion = value;
        }

        public WayPointBo(Vector3 postion, int order, int nextWayPointOrder)
        {
            _postion = postion;
            _order = order;
            _nextWayPointOrder = nextWayPointOrder;
        }
    }
}